<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>The Free Photo-On Website Template | Home :: w3layouts</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="./resources/css/style.css" rel="stylesheet" type="text/css" media="all" />
<link href="./resources/css/style5.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javaScript" src="./resources/js/confirm.js"></script><script type="text/javascript" src="./resources/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="./resources/js/accordion-single.js"></script>

<script  type="text/javascript"> 
$(document).ready(function(e) {
	$(window.top.document.body).attr('scrollHeight',$('body').attr('scrollHeight'));
});

Qfast.add('widgets', { path: "./resources/js/terminator2.2.min.js", type: "js", requires: ['fx'] });  
Qfast(false, 'widgets', function () {
	K.tabs({
		id: 'decoroll2',//焦点图包裹id  
		conId: "decoimg_a2",//大图域包裹id  
		tabId:"deconum2",//小圆点数字提示id
		tabTn:"a",
		conCn: '.decoimg_b2',//大图域配置class       
		auto: 1,//自动播放 1或0
		effect: 'fade',//效果配置
		eType: 'mouseover',// 鼠标事件
		pageBt:true,//是否有按钮切换页码
		bns: ['.prev', '.next'],//前后按钮配置class                          
		interval: 3000// 停顿时间  
	}) 
}) 
</script>
</head>
<body>    

<div id="header" style="width:auto;height:96px;background-color:#9C0B0C;padding:3px 0 3px 7%;margin:0">
		<a href="index.html"><image src="./resources/images/logo.jpg" style="height:90px;width:90%"></image></a>
</div>
<div class="red">
    <div id="slatenav">
        <ul>
            <li class="active"><a href="${pageContext.request.contextPath }/index">Home</a></li> 
			<li><a href="${pageContext.request.contextPath }/confirm">在校证明</a></li>
			<li><a href="${pageContext.request.contextPath }/score">打印成绩</a></li>	
			<li><a href="${pageContext.request.contextPath }/require">检索</a></li>
        </ul>
    </div>
</div>
<div class="wrap">
	<div class="header-left" id="leftContent">
  
    	<section >
		<!--- Contact Starts Here ---->
        <div class="contact">
            <span class="line"></span><a href="#" class="line-anchor"><font size="+2">预 约 申 请</font></a><span class="line"></span>
            <div class="clearfix"></div>
            <div class="row contact-form">
                <div class="col-md-8">
                    <h3 class="contact-head">Fill Your Details</h3><br />
                    <form action="${pageContext.request.contextPath }/addConfirms" method="post">
	                    <div class="contact-text">
	                        <input type="text" placeholder="姓名" id="username" name="username" onblur="Name()"/>
                            <font id='name' size=3 color=red></font><br />
                            <select name="sex" style="font-size:18px;margin-bottom:20px;height:45px;border-radius:5px;border-color:#999;background:#ccc;width:28%">
                             <option value="男">&nbsp;男</option>
                             <option value="女">&nbsp;女</option>
                         	</select>
                            <input type="text" placeholder="身份证号" id="identity" name="identity" onblur="Identity()"/>
                            <font id='ident' size=3 color=red></font><br />
                            <input type="text" placeholder="入学年份" id="year" name="year" onblur="Year()"/>
                            <font id='inyear' size=3 color=red></font><br />
                            <input type="text" placeholder="月份" id="month" name="month" value="8" onblur="Month()" disabled />
                            <font id='inmonth' size=3 color=red></font><br />
                            <input type="text" placeholder="学号" id="stu_number" name="stu_number" onblur="Stu_Num()"/>
                            <font id='stu_num' size=3 color=red></font><br />
                            
                            <input type="text" placeholder="电话" id="number" name="number" onblur="Number()"/>
                            <font id='num' size=3 color=red></font><br />
                            
                            <select name="profession" style="font-size:18px;margin-bottom:20px;height:45px;border-radius:5px;border-color:#999;background:#ccc;width:28%">
                             <option value="计算机科学与技术">&nbsp;计算机科学与技术</option>
                             <option value="网络工程">&nbsp;网络工程</option>
                             <option value="物联网工程">&nbsp;物联网工程</option>
                         	</select>
                            <input type="text" placeholder="班级" id="classes" name="classes" onblur="Classes()"/>
                            <font id='class' size=3 color=red></font><br />
	                        <input type="hidden" value="${Session }" name="num" />
	                   </div>
	                   <div class="contact-textarea">
                            <textarea value="理由" id="reason" name="reason" onblur="if (this.value == '') {this.value = '理由';}else{Reason()}">理由</textarea>
                            <font id='stu_rea' size=3 color=red></font><br />
                       </div>
	                   <div class="contact-but">
                            <input type="submit" onclick="return Button()" value="提交" />
                       </div>
                        </form>
                        <div><c:if test="${message!=null }">${message }</c:if></div>
                    </div>
                    <div class="clearfix"></div>
                    </div>
        </div>
        <!--- Contact Ends Here ---->
		</section>
    </div>
    <hr style="width:100%;color:#ccc">
    <div class="ftr-bg">
        <div class="footer" style="height:5%;width:auto;padding-top:3px;">
            <p class="w3-link"><span>© All Rights Reserved | Design by&nbsp; <a href="http://w3layouts.com/"> W3L9</a></span></p>
        </div>
    </div>
</div>

</body>
</html>